package com.epi.one.basic.generic.pair;

import java.time.LocalDate;

/**
 * @author dxy
 * @version 1.0
 */
public class DateInterval extends Pair<LocalDate> {


    public DateInterval() {
    }

    @Override
    public LocalDate getFirst() {
        return super.getFirst();
    }

    @Override
    public LocalDate getSecond() {
        return super.getSecond();
    }

    /**
     * javap -c -v
     * 桥方法: public void setSecond (java.lang.Object);
     * checkcast 👉 invoke： setSecond (Ljava/time/LocalDate;)V
     *
     */
    public void setSecond(LocalDate second) {
        super.setSecond(second);
    }
    public void setFirst(LocalDate first) {
        super.setFirst(first);
    }
    public void sayHi() {
        System.out.println("Hi");
    }
}
